package ldh.im.admin.dao;

import ldh.im.admin.pojo.UserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author: ldh
* @date: 2019-10-25 12:35:07
*/
public interface UserRoleDao {

	int insert(UserRole userRole);

	int inserts(List<UserRole> userRoleList);

	int insertSelective(UserRole userRole);

	int deleteByUserIdAndRoleId(@Param("userId") Long userId, @Param("roleId") Long roleId);
}
